Interface com.symantec.itools.swing.GraphStyle
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.symantec.itools.swing.GraphStyle

public interface GraphStyle
GraphStyle determines the style of the graph to draw such as bar, line, pie, or scatter

Author:
Michael Hopkins, Symantec

Variable Index

 o AREA_STYLE
Defines the area graph style.
 o BAR_STYLE
Defines the line graph style.
 o DEFAULT_STYLE
Defines the default graph style (which also happens to be line)
 o LINE_STYLE
Defines the line graph style.
 o PIE_STYLE
Defines the pie graph style.
 o SCATTER_STYLE
Defines the scatter graph style.

Method Index

 o getStyle()
Gets the new graph style.
 o setStyle(int)
Sets the new graph style.

Variables

 o AREA_STYLE
public static final int AREA_STYLE
Defines the area graph style. Similar to the line graph except that area beneath line is filled with a solid color corresponding to the color to be used by the series

 o BAR_STYLE
public static final int BAR_STYLE
Defines the line graph style. This causes variable pixel width lines to be drawn between consecutive data points

 o DEFAULT_STYLE
public static final int DEFAULT_STYLE
Defines the default graph style (which also happens to be line)

 o LINE_STYLE
public static final int LINE_STYLE
Defines the line graph style. This causes variable pixel width lines to be drawn between consecutive data points

 o PIE_STYLE
public static final int PIE_STYLE
Defines the pie graph style. This causes the data to be plotted as a pie chart

 o SCATTER_STYLE
public static final int SCATTER_STYLE
Defines the scatter graph style. This causes data points to be simply plotted

Methods

 o getStyle
public abstract int getStyle()
Gets the new graph style.

Returns:
the new border style, one of DEFAULT_STYLE, LINE_STYLE, BAR_STYLE, PIE_STYLE, AREA_STYLE, or SCATTER_STYLE
See Also:
setStyle, DEFAULT_STYLE, LINE_STYLE, BAR_STYLE, PIE_STYLE, AREA_STYLE, SCATTER_STYLE
 o setStyle
public abstract void setStyle(int style)
Sets the new graph style.

Parameters:
style - the new border style, one of DEFAULT_STYLE, LINE_STYLE, BAR_STYLE, GRAPH_PIE_STYLE, AREA_STYLE, or SCATTER_STYLE
See Also:
getStyle, DEFAULT_STYLE, LINE_STYLE, BAR_STYLE, PIE_STYLE, AREA_STYLE, SCATTER_STYLE

All Packages  Class Hierarchy  This Package  Previous  Next  Index